From aea531963521f8771529c1ea267e30e7b929439d Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 18 Dec 2003 11:31:03 +0000 Subject: [PATCH] Hopefully slightly saner handling of character entities in links; now will use UTF-8 characters on a UTF-8 wiki for the Latin-1 named entities; this prevents corrupt in-wiki links for cases such as [[Weiß kreuz]] or [[Brûker:Foo]]. There is a small chance this will harm interwiki links to latin-1 wikis that don't accept UTF-8 incoming URLs, but on balance this is a lesser harm. Raw bytes in such links can still be used (%XX) if need be. This shouldn't change behavior on Latin-1 wikis. --- includes/Title.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/includes/Title.php b/includes/Title.php index d0300ed4cc..2b3da1fae3 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -1,7 +1,6 @@